Continuity always needs to be right, but sometimes there are deliberate errors. Of course you need a good motivation to do one of these, but I think it's great when it gets pulled of right. One of my favourite ones happens in the fifth series of Doctor Who, in the episode "Flesh and Stone".